﻿#ifndef REPLUGIN_H
#define REPLUGIN_H

#include <QQmlExtensionPlugin>
#include "PanGuPlugin.h"
#include "PluginInfo.h"

class QQmlComponent;

/**
 * @brief 注册QML插件
 */
class NetConPlugin : public QQmlExtensionPlugin
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
public:
    void registerTypes(const char *uri) override;
};

extern "C"
{
    PANGUPLUGIN_EXPORT PluginInfo* getPluginInfo(QQmlApplicationEngine*);
    PANGUPLUGIN_EXPORT void releasePluginInfo();
}

#endif // REPLUGIN_H
